package com.company.cloud.acct.modules.api.request;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class AcctGetRequest extends BaseParam {


    @ApiModelProperty(value = "用户ID",required = true)
    @NotNull(message = "用户不能为空")
    private Integer userId;

    @ApiModelProperty(value = "账户分类【AcctTypeEnum】",required = true)
    @NotEmpty(message = "账户分类不能为空")
    private String type;


}
